package example.documentbased.mainModule.controller
{
	import org.etherframework.controller.Controller;
	import org.etherframework.controller.IReactiveCommand;
	import org.etherframework.controller.common.PopUpModel;
	import org.etherframework.controller.common.ShowPopUpCommand;
	
	public final class CommonController extends Controller implements ICommonController
	{
		public function getShowPopUpCommand(view:Class, model:PopUpModel, isModal:Boolean = true):IReactiveCommand
		{
			var cmd:ShowPopUpCommand = command(ShowPopUpCommand) as ShowPopUpCommand;
			return cmd.initialize(view, model, null, isModal);
		}
	}
}